package com.company.装饰模式.impl;

import com.company.装饰模式.Decorator;
import com.company.装饰模式.Person;

public class ReadDecorator extends Decorator {


    public ReadDecorator(Person person) {
        super(person);
    }

    @Override
    public void work() {
        System.out.print("爱阅读的");
        this.person.work();
    }
}
